package com.tangula.web.kashine.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;



@Entity
@Table(name="t_product")
public class ProductEntity implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -8854364019821395115L;
	@Id
	@GeneratedValue(generator = "system-uuid")
	@GenericGenerator(name = "system-uuid", strategy = "uuid2")
	@Column(name="id")
	private String id;
	@Column(name="productName")
	private String productName;
	@Column(name="productDescription")
	private String productDescription;
	@Column(name="productImage")
	private String productImage;
	@Column(name="productPrice")
	private int productPrice;
	@Column(name="ownerStore")
	private String ownerStore;
	public ProductEntity() {
		super();
		
	}
	public ProductEntity(String id, String productName, String productDescription, String productImage,
			int productPrice, String ownerStore) {
		super();
		this.id = id;
		this.productName = productName;
		this.productDescription = productDescription;
		this.productImage = productImage;
		this.productPrice = productPrice;
		this.ownerStore = ownerStore;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public String getProductDescription() {
		return productDescription;
	}
	public void setProductDescription(String productDescription) {
		this.productDescription = productDescription;
	}
	public String getProductImage() {
		return productImage;
	}
	public void setProductImage(String productImage) {
		this.productImage = productImage;
	}
	public int getProductPrice() {
		return productPrice;
	}
	public void setProductPrice(int productPrice) {
		this.productPrice = productPrice;
	}
	public String getOwnerStore() {
		return ownerStore;
	}
	public void setOwnerStore(String ownerStore) {
		this.ownerStore = ownerStore;
	}


	
}
